package com.dynabook.ems.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * bom关系表
 * @TableName ems_bom_contact
 */
@TableName(value ="ems_bom_contact")
@Data
public class EmsBomContact {
    /**
     * bom单号
     */
    @ApiModelProperty("BOM单号")
    @TableField(value = "bom_id")
    private Long bomId;

    /**
     * bom_detail_id
     */
    @ApiModelProperty("BOM详情ID")
    @TableField(value = "bom_detail_id")
    private Long bomDetailId;



    /**
     * 逻辑删除字段
     */
    @ApiModelProperty("逻辑删除字段")
    @TableField(value = "is_delete")
    @TableLogic
    private Integer isDelete;


     /**
      * 是否为BOM
      */
    @ApiModelProperty("是否为BOM")
    @TableField(value = "is_bom")
    private Integer isBom;
}